package com.ysstech.common.entity;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TreeNode implements Serializable {

    private String id;//id
    private String pId;//上级id
    private String text;//对应tree的text属性
    private String title; //对应tree的text属性 vue使用
    private List<TreeNode> children;//子节点集合
    private String url;//跳转地址
    private String iconCls;//菜单样式
    private String state;//节点状态
    private String attributes; //其它信息
    private boolean checked = false;  //是否选中

    private Integer menuLevel;//菜单级别
    private String target;
}
